package com.yangcangclub.mq.service.impl;

import com.yangcangclub.mq.base.MQBaseService;
import com.yangcangclub.mq.service.MQService;
import org.springframework.stereotype.Service;


/**
 *
 * @author  flyger
 * @date    2016/7/13
 * @desc    信息基础操作Domain
 */
@Service
public class MQServiceImpl extends MQBaseService implements MQService {


    /**
     * 添加MQTopic
     * @param partition
     * @param topic
     * @param server
     * @return
     */
    @Override
    public int addMQTopic(int partition, String topic, String server) {
        return mqTopicProfile.addMQTopic(partition,topic,server);
    }
}
